.PHONY:All
All:server client

server:CalServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp #-DNO_DEBUG 

client:CalClient.cc
	g++ -o $@ $^ -std=c++11 -DNO_DEBUG -ljsoncpp

.PHONY:clean
clean:
	rm -rf server client